/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.JD.datePicker;

import java.text.SimpleDateFormat;
import java.util.*;

/**
 *
 * @author admin
 */
public class DatePicker {


    public static void  main(String aa[]){

        

       

    }

    public List year_List = new ArrayList();
    public List day_List = new ArrayList();

    public List getDay_List() {

        day_List.add(new SimpleDateFormat("dd").format(new Date()));

        for (int i = 1; i < 32; i++) {
            day_List.add(i);
        }

        return day_List;
    }

    public List getYear_List() {

        year_List.add(new SimpleDateFormat("yyyy").format(new Date()));

        for (int i = 2014; i > 1969; i--) {
            year_List.add(i);

        }

        return year_List;
    }
}
